package com.ancient;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.scheduling.annotation.EnableAsync;

import com.ancient.config.datasource.DBConfig1;

@SpringBootApplication
@EnableConfigurationProperties(value = {DBConfig1.class}) 
@EnableAsync
public class AdApp {

	public static void main(String[] args) {
		SpringApplication springApplication = new SpringApplication(AdApp.class);
        springApplication.run(args);
	}
}
